//
//  MyNavigationBar.h
//  Cooking
//
//  Created by ZhiPeng.Y on 15/8/31.
//  Copyright (c) 2015年 ZP.Y. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MyNavigationBarDelegate;

@interface MyNavigationBar : UIView

@property (retain, nonatomic) UILabel *titleLabel;

@property (assign, nonatomic) id<MyNavigationBarDelegate> delegate;
@end
//协议,将自定义的navigationBar点击事件回调到试图控制器中
@protocol MyNavigationBarDelegate<NSObject>

- (void)clickButton:(UIButton *)button;

//- (void)clickRightButton:(UIButton *)button;

@end
